namespace Webbness.Generator.CodeDom.Sql

import System
import System.Text
import Neo.Generator.Core
import Neo.MetaModel

class SqlColumn():
	
	_comments as List
	
	def constructor(entityAttribute as EntityAttribute):
		_entityAttribute = entityAttribute
		_comments = List()
	
	def constructor(entityAttribute as EntityAttribute, action as ActionType):
		self(entityAttribute)
		_action = action
		
	[property(Action)]
	_action as ActionType
	
	[property(EntityAttribute)]
	_entityAttribute as EntityAttribute
	
	def AddComment(comment as string):
		_comments.Add(comment)
	
	SqlComments as string:
		get:
			return _comments.Join(' ')
